﻿using System;
using StructureMap;
using TimeTracker.Core.Domain.Entities;

namespace TimeTracker.Core.Services
{
    [PluginFamily("Default")]
    public interface IWebContext
    {
        void ClearSession();
        bool ContainsInSession(string key);
        void RemoveFromSession(string key);

        Int32 KorisnikId { get; }
        bool Prijavljen { get; set; }
        string KorisnickoIme { get; set; }
        Korisnik TrenutniKorisnik { get; set; }
    }
}
